<template>
  <div id="app">
    <Header />
    <Body :mny="mny"/>
    <Footer :msg="msg"/>

    
  </div>
</template>

<script>
// //import 导入
// import HelloWorld from './components/HelloWorld'
// //export 把文件导出(暴露)，别的文件才可以使用
import Header from "./components/Header";
import Body from "./components/body";
import Footer from "./components/footer";



// export default {
//   name: 'App',
//   components: {
//     HelloWorld:HelloWorld
//   }
// }
export default {
  name: "App",
  components: {
    Header,
    Body,
    Footer,
    
  },
  data(){
    return{
      mny:100,
      msg:'hello'
    }
  }
}; 
</script>

<style>
* {
  padding: 0px;
  margin: 0px;
}
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
